CSharpTest.Net
Remove(KeyValuePair<TKey,TValue>) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > BTreeDictionary<TKey,TValue> Class > Remove Method : Remove(KeyValuePair<TKey,TValue>) Method

item
The object to remove from the ICollection.

Glossary Item Box

Removes the first occurrence of a specific object from the ICollection.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Remove( _
   ByVal item As KeyValuePair(Of TKey,TValue) _
) As Boolean
C# 
public bool Remove( 
   KeyValuePair<TKey,TValue> item
)

Parameters

item
The object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe ICollection is read-only.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys